class Car:

    def drive(self, speed):
        self.wheels = 4
        print(f"driving----{speed}----")

    @classmethod
    def stop(cls):
        print("stop--------")

    @staticmethod
    def test():
        print("test--------")


car1 = Car()
car1.drive(100)
print(car1.wheels)
# print(Car.wheels) #AttributeError: type object 'Car' has no attribute 'wheels'
car1.color = "red"
print(car1.color)
car1.stop()
Car.test()
